"include guard" meaning in English

See include guard in All languages combined, or Wiktionary

Noun

Forms: include guards [plural]
Head templates: {{en-noun}} include guard (plural include guards)
  1. (programming) In C and C++, a preprocessor directive used in header files to prevent them from being included multiple times. Synonyms: header guard, macro guard

Inflected forms

{
  "forms": [
    {
      "form": "include guards",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "include guard (plural include guards)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "senses": [
    {
      "categories": [
        {
          "kind": "other",
          "name": "English entries with incorrect language header",
          "parents": [],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Pages with 1 entry",
          "parents": [],
          "source": "w"
        },
        {
          "kind": "other",
          "name": "Pages with entries",
          "parents": [],
          "source": "w"
        },
        {
          "kind": "other",
          "langcode": "en",
          "name": "Programming",
          "orig": "en:Programming",
          "parents": [],
          "source": "w"
        }
      ],
      "glosses": [
        "In C and C++, a preprocessor directive used in header files to prevent them from being included multiple times."
      ],
      "id": "en-include_guard-en-noun-LnXzYrBB",
      "links": [
        [
          "programming",
          "programming#Noun"
        ],
        [
          "preprocessor",
          "preprocessor"
        ],
        [
          "directive",
          "directive"
        ],
        [
          "header file",
          "header file"
        ],
        [
          "include",
          "include"
        ]
      ],
      "raw_glosses": [
        "(programming) In C and C++, a preprocessor directive used in header files to prevent them from being included multiple times."
      ],
      "synonyms": [
        {
          "word": "header guard"
        },
        {
          "word": "macro guard"
        }
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "programming",
        "sciences"
      ]
    }
  ],
  "word": "include guard"
}
{
  "forms": [
    {
      "form": "include guards",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "include guard (plural include guards)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "senses": [
    {
      "categories": [
        "English countable nouns",
        "English entries with incorrect language header",
        "English lemmas",
        "English multiword terms",
        "English nouns",
        "Pages with 1 entry",
        "Pages with entries",
        "en:Programming"
      ],
      "glosses": [
        "In C and C++, a preprocessor directive used in header files to prevent them from being included multiple times."
      ],
      "links": [
        [
          "programming",
          "programming#Noun"
        ],
        [
          "preprocessor",
          "preprocessor"
        ],
        [
          "directive",
          "directive"
        ],
        [
          "header file",
          "header file"
        ],
        [
          "include",
          "include"
        ]
      ],
      "raw_glosses": [
        "(programming) In C and C++, a preprocessor directive used in header files to prevent them from being included multiple times."
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "programming",
        "sciences"
      ]
    }
  ],
  "synonyms": [
    {
      "word": "header guard"
    },
    {
      "word": "macro guard"
    }
  ],
  "word": "include guard"
}

Download raw JSONL data for include guard meaning in English (1.1kB)


This page is a part of the kaikki.org machine-readable English dictionary. This dictionary is based on structured data extracted on 2026-01-03 from the enwiktionary dump dated 2026-01-01 using wiktextract (96027d6 and 9905b1f). The data shown on this site has been post-processed and various details (e.g., extra categories) removed, some information disambiguated, and additional data merged from other sources. See the raw data download page for the unprocessed wiktextract data.

If you use this data in academic research, please cite Tatu Ylonen: Wiktextract: Wiktionary as Machine-Readable Structured Data, Proceedings of the 13th Conference on Language Resources and Evaluation (LREC), pp. 1317-1325, Marseille, 20-25 June 2022. Linking to the relevant page(s) under https://kaikki.org would also be greatly appreciated.